import 'package:microbject/core/runtime/lang/string_util.dart';
import 'package:microbject/core/runtime/lang/base_object.dart';
import 'package:microbject/core/runtime/lang/dispose_face.dart';
import 'package:microbject/core/runtime/lang/instance_object.dart';
import 'package:microbject/core/runtime/lang/logger_util.dart';
import 'package:microbject/core/runtime/lang/speed.dart';

// void printNumbers(int a, int b, int c, [ int... numbers ]) {
//   print('a: $a');
//   print('b: $b');
//   print('c: $c');
//   print('numbers: $numbers');
// }

void main() {
  print(StringUtil);
  // printNumbers(1, 2, 3, 4, 5, 6);

  var speed = Speed();
  var instance = InstanceObject();
  print(instance);

  // if (instance is IDispose) {
  //   print('BaseObject');
  // }

  var record = speed.record();
  LoggerUtil.debugTick(
      null,
      speed,
      'Process test. (begin={1}, end={2}, span={3})',
      [speed.startTick, speed.endTick, record]);
}
